package com.ddogring.business.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @BelongsProject: eshop
 * @BelongsPackage: com.ddogring.business.domain
 * @Author: DdogRing
 * @CreateTime: 2023-02-02  10:59
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@TableName("t_unified_pay")
public class UnifiedPay {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /** 订单编号 */
    private String orderId;

    /** 统一支付订单号 */
    private String unifiedPay;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 买家id */
    private Integer userId;

    /** 支付金额 */
    private BigDecimal payNum;
}
